package ge.unihack.instantdj.protocol.server;

import ge.unihack.instantdj.protocol.common.Command;

import java.io.IOException;
import java.util.List;

public interface Server {
	
	void start() throws IOException;
	
	void sendCommand(Command command, Client client) throws IOException;
	
	List<Client> getConnectedClients();
	
	int getLocalPort();
	
	String getLocalAddress();
	
	void stop();
	
}